// multi-crowdDlg.h : header file
//

#pragma once
#include <cxcore.h>
#include <highgui.h>
#include <cv.h>
#include <cvaux.h>


// CmulticrowdDlg dialog
class CmulticrowdDlg : public CDialog
{
// Construction
public:
	CmulticrowdDlg(CWnd* pParent = NULL);	// standard constructor
	CvCapture* pCapture;
	CvCapture* pCapture2;
	CString lpszPath;

// Dialog Data
	enum { IDD = IDD_MULTICROWD_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
public:
	afx_msg void OnBnClickedButton2();
	void med(IplImage *frame,IplImage *frame1);
public:
	int a1;
public:
	int b1;
public:
	BOOL s1;
	float falling_angle;
	float epsilon_angle;
	float speed_threshold;
};
